/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.MaintainPlanAffair;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 事务工单表数据传输对象实体类
 *
 * @author ysq
 * @since 2023-11-10
 */
@Data
public class MaintainPlanAffairDTO {

	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty("项目id")
	private Long buildingId;

	@ApiModelProperty("电梯id")
	private List<Long> elevatorIds;

	@ApiModelProperty("工单状态")
	private Integer planStatus;

	@ApiModelProperty("创建人")
	private Long createUserId;

	@ApiModelProperty("执行人")
	private String planUserId;

	@ApiModelProperty(value = "1:非常紧急2:紧急3:普通4:较低")
	private Integer emerProcType;

	//创建时间查询
	private Date createBeginTime;
	private Date createEndTime;

	//工单时间查询
	private Date planBeginDate;
	private Date planEndDate;

	//工单开始时间查询
	private Date planBeginTime;
	private Date planEndTime;

	//工单结束时间查询
	private Date planFinishBeginTime;
	private Date planFinishEndTime;

	@ApiModelProperty("用户状态1:表示获取用户离职人员的数据，只要进行中和待开始的")
	private Integer isUserStatus;

	@ApiModelProperty("多个状态查询")
	private List<Integer> planStatuss;
}
